package com.ll.xiaonew;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
@EnableFeignClients("com.ll.xiaonew.*")
//com.ll.xiaonew.mains.api.dto com.ll.xiaonew.test
//@ComponentScan(basePackages = {"com.ll.xiaonew.mains.api.*"})

//@ComponentScan(basePackages = {"com.ll.xiaonew.test","com.ll.xiaonew.mains.api.*"})

//@ComponentScans({@ComponentScan (basePackages = "com.ll.xiaonew.test")
//        ,@ComponentScan("com.ll.xiaonew.mains.api.*")})
public class XiaonewTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(XiaonewTestApplication.class, args);
    }

}
